﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Buka.BLL.Model
{
    public class Master
    {
        private long _id;

        public long Id
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _caption;

        public string Caption
        {
            get { return _caption; }
            set { _caption = value; }
        }

        private string _description;

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private string _url = string.Empty;

        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }

        private string _shortText = string.Empty;

        public string ShortText
        {
            get { return _shortText; }
            set { _shortText = value; }
        }

        private string _text = string.Empty;

        public string Text
        {
            get { return _text; }
            set { _text = value; }
        }


        private string _imagePath = string.Empty;

        public string ImagePath
        {
            get { return _imagePath; }
            set { _imagePath = value; }
        }



        private Nullable<long> _ranking;

        public Nullable<long> Ranking
        {
            get { return _ranking; }
            set { _ranking = value; }
        }

        private Nullable<long> _categoryId;

        public Nullable<long> CategoryId
        {
            get { return _categoryId; }
            set { _categoryId = value; }
        }

        private Nullable<long> _typeId;

        public Nullable<long> TypeId
        {
            get { return _typeId; }
            set { _typeId = value; }
        }

        private Nullable<long> _createdBy;

        public Nullable<long> CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        private Nullable<DateTime> _createdDate;

        public Nullable<DateTime> CreatedDate
        {
            get { return _createdDate; }
            set { _createdDate = value; }
        }
    }
}
